package data;

import java.util.ArrayList;

/**
 * 
 * @author Niels Scmidt Hansen Initiates the class User
 */
public class User {

	private String firstname;
	private String lastname;
	private String cpr_number;
	private String password;
	private ArrayList<Account> accounts;

	public User(String CPR_number, String firstname, String lastname,
			String password) {

		accounts = new ArrayList<Account>();
		this.firstname = firstname;
		this.lastname = lastname;
		this.cpr_number = CPR_number;
		this.password = password;

	}

	/**
	 * 
	 * @return firstname
	 */
	public String getFirstname() {
		return firstname;
	}

	/**
	 * Setsfirstname
	 * 
	 * @param firstname
	 */
	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	/**
	 * @return lastname
	 */
	public String getLastname() {
		return lastname;
	}

	public void setLastname(String lastname) {
		this.lastname = lastname;
	}

	/**
	 * @return cpr_number
	 */
	public String getCpr_number() {
		return cpr_number;
	}

	public void setCpr_number(String cpr_number) {
		this.cpr_number = cpr_number;
	}

	/**
	 * @return password
	 */
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}